package com.cmes.mes.audit.constant;

import com.cmes.core.utils.dict.StringDict;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 审核操作
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@RequiredArgsConstructor
@Getter
public enum AuditOperationEnum implements StringDict {

    START       ("new",     "开启审核流程", "草稿"),
    SUBMIT      ("submit",  "提交",       "待审核"),
    REJECT      ("reject",  "驳回",       "草稿"),
    AUDITED     ("audit",   "审核",       "已审核"),
    RE_AUDITED  ("reAudit", "通过驳回",    "草稿"),
    DISABLE     ("disable", "停用",       "停用"),

    ;

    private final String code;
    private final String value;
    private final String status;
}
